Pattern-based design evolution using graph transformation
نویسندگان
چکیده
In recent years, design patterns gain more interest in software engineering communities for both software development and maintenance. As a template to solve a certain recurring problem, a design pattern documents successful experiences of software experts and gradually becomes the design guidelines of software development. Applying design patterns correctly can improve the efficiency of software design in terms of reusability and enhance maintainability during reverse engineering. Software can be evolved when developers modify their initial designs as requirements change. For instance, a developer may add/delete a set of design elements, such as classes and methods. Modifications on software artifacts can introduce conflicts and inconsistencies in the previously applied design patterns, which are difficult to find and time-consuming to correct. This paper presents a graph-transformation approach to pattern level design validation and evolution. Based on a well founded formalism, we validate a given design by a graph grammar parser and automatically evolve the design at pattern level using a graph-transformation system. Rules for potential pattern evolutions are predefined. The graph-transformation approach preserves the integrity and consistency of design patterns in the system when designs change. A prototype system is built and a case study on the Strategy pattern demonstrates the feasibility of pattern-based design validation and evolution using graph transformation techniques. Published by Elsevier Ltd.
منابع مشابه
Modeling with Graph Transformations
In this paper we give a general overview of graph grammars and graph transformation as important modeling techniques for several areas in computer science. In particular we present the main ideas of the algebraic approach, which is the basis for a categorical theory of rule-based transformations of high-level structures. 1 General Overview of Graph Transformation The research area of graph gram...
متن کاملEvolving Design Patterns Based on Model Transformation
In this paper, we propose two-level transformations to capture the evolution processes of design patterns, which are generally implicit in the descriptions of design patterns. These two-level transformations are the primitive-level and pattern-level evolutions. The evolution processes are implemented based on XML Metadata Interchange (XMI) format to transform the UML models of design pattern ap...
متن کاملAdaptive Graph Pattern Matching for Model Transformations using Model-sensitive Search Plans
The current paper makes two contributions for the graph pattern matching problem of model transformation tools. First, model-sensitive search plan generation is proposed for pattern traversal (as an extension to traditional multiplicity and type considerations of existing tools) by estimating the expected performance of search plans on typical instance models that are available at transformatio...
متن کاملPattern-Oriented Approach to Software Process Evolution
In this article, an approach for evolving software development processes using Software Process Pattern as a template of process evolving transformation is proposed. Software Process Pattern is a form of encapsulated knowledge about development project/product management issues. As well as Software Design Pattern, Software Process Pattern mainly consists of several components such as Problem, C...
متن کاملA Generic Visual Language Technique for DSVL Model Refactoring to Patterns
As the popularity of domain-specific visual languages (DSVLs) grows, many concerns have arisen regarding quality assurance and evolvability of their designs (metamodels) as well as their model instances. We address some aspects of automated DSVL model instance modification for quality improvement based on refactoring specifications. We propose a graph transformation based visual language approa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Vis. Lang. Comput.
دوره 18 شماره
صفحات -
تاریخ انتشار 2007